/*
 * @Description: 连接数据库
 * @Autor: xiaohuihui
 * @Date: 2022-11-28 16:27:58
 * @LastEditors: xiaohuihui
 * @LastEditTime: 2022-12-22 15:23:27
 */
const mysql = require("mysql");

const db = mysql.createPool({
    host: "127.0.0.1",
    user: "root",
    password: "root",
    database: "dashijian",
});

module.exports = db
